package com.zhangtai.modules.entity.employee;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

	

/**
 * 离任审计通知
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-09-02 09:47:33
 */
@Data
@TableName("tb_dimission_audit")
public class DimissionAuditEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * id
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 流程编号
		 */
			private String processNumber;
			/**
		 * 申请人id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long applyOid;
			/**
		 * 申请人code
		 */
			private String applyCode;
			/**
		 * 申请人名字
		 */
			private String applyName;
			/**
		 * 申请日期
		 */
			private Date applyTime;
			/**
		 * 部门id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long applyDepId;
			/**
		 * 部门
		 */
			private String applyDepartment;
	/**
	 * 员工id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long oid;
	/**
	 *  员工工号
	 */
	private String code;
	/**
	 * 姓名
	 */
	private String name;
//	/**
//	 * 公司id
//	 */
//	@JsonDeserialize(using = LongJsonDeserializer.class)
//	@JsonSerialize(using = LongJsonSerializer.class)
//	private Long orgId;
	/**
	 * 拟录用公司
	 */
	private String orgname;
	/**
	 * 部门id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long unitId;
	/**
	 * 拟录用部门
	 */
	private String unitname;
	/**
	 * 岗位id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long jobId;
	/**
	 * 拟录用岗位
	 */
	private String jobname;

	/**
	 * 预计入职时间
	 */
	private Date hiredate;
	/**
	 * 工作年限 司龄
	 */
	private String workingYears;


	/**
	 * 体系id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long jobSystemId;
	/**
	 * 体系
	 */
	private String jobSystem;

	/**
	 * 条线id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long lineId;
	/**
	 * 条线
	 */
	private String line;

	/**
	 * 职级id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long jobLevelId;

	/**
	 * 职级
	 */
	private String jobLevel;

	/**
	 * 职级类别，1：专业2:管理，
	 */
	private Integer jobLevelType;
			/**
		 * 审计事由
		 */
			private String remark;
			/**
		 * 0:正常。1：删除
		 */
			private Integer isDelete;
			/**
		 * 创建时间
		 */
			private Date createTime;
			/**
		 * 附件地址
		 */
			private String annexUrl;
			/**
		 * 审批状态 0 待审批 1审批中 2已审批 3 作废
		 */
			private Integer status;
			/**
		 * 审计结算时间
		 */
			private Date endTime;
			/**
		 * 审计待办 状态 0 未办理 1已办理
		 */
			private Integer upcomingStatus;
	/**
	 * bpm详情
	 */
	private String bpmDetailUrl;

	/**
	 * 插入时间
	 */
	private Date insetDate;

	/**
	 * 离职日期
	 */
	private Date dimissionTime;

	/**
	 * bpm类型
	 */
	private Integer sptype;
}
